//Naming
Name K2A1 Black Panther
ShortName GFS_K2A1
Description South Korean Main Battle Tank_1x 120mm Smoothbore Gun_1x 7.62 Machine Gun_Active Protection_Introduction: 2015
//Visuals
Icon IconK2A1
Model gfs.K2A1
Texture SkinK2A1
//Third Person Camera Distance
CameraDistance 15
ModelScale 1
//Throttle
MaxThrottle 1.16
MaxNegativeThrottle 0.6
//Steering modifiers
TurnLeftSpeed 1
TurnRightSpeed 1
//Drag
Drag 10.0
//For calculating whether wheels are on the ground or not for driving
WheelRadius 1
//Wheel positions for collision handling. Tanks still have 4 wheels, they are just the corner ones.
NumWheels 4
WheelPosition 0 -36 -10 -26
WheelPosition 1 -36 -10 26
WheelPosition 2 52 -10 26
WheelPosition 3 52 -10 -26
RotateWheels True
WheelSpringStrength 0.5
//If true, then all wheels will apply drive forces
FourWheelDrive true
//Tank mode activate
Tank true
//Weapon types. Options are Missile, Bomb, Gun, Shell, None
Primary Shell
Secondary Gun
AllowAllAmmo False
BulletSpeed 12
BulletSpread 1
AddAmmo GFS_120mmAPFSDS
AddAmmo GFS_120mmHEAT
AddAmmo GFS_120mmKSTAM
//Time between shots in 1/20ths of seconds
ShootDelayPrimary 95
ShootDelaySecondary 2
//Whether to alternate or fire all together
AlternatePrimary False
AlternateSecondary False
//Firing modes. One of SemiAuto, FullAuto or Minigun
ModePrimary FullAuto
ModeSecondary FullAuto
//Add shoot origins. These are the points on your vehicle from which bullets / missiles / shells / bombs appear
ShootPointPrimary 125 29 1 turret 
ShootPointSecondary 44 33 -3 turret GFS_M240
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 6000
//Inventory Slots
CargoSlots 0
ShellSlots 4
//Driver and passenger positions
Driver 0 15 0 -360 360 -10 20
RotatedDriverOffset 17 0 -15
Passengers 1
Passenger 1 0 30 0 turret -360 360 -10 45 GFS_M2HB PassengerGun1
GunOrigin 1 -7 30 -14
RotatedPassengerOffset 1 -8 0 -14
PassengerAimSpeed 1 5 5 0
SetPlayerInvisible true
//Turret rotation stuff
DriverAimSpeed 6 6 0
DriverYawBeforePitch false
DriverTraverseSounds true
YawSound TurretYaw
YawSoundLength 21
PitchSound TurretPitch
PitchSoundLength 20
//Delays are in ticks or 1/20ths of seconds
//Sounds
PlaceSoundPrimary EngineStart_Tnk_Diesel2
IdleSound EngineIdle_Tnk_Diesel2
IdleSoundLength 20
EngineSound Engine_Tnk_Diesel2
EngineSoundLength 20
StartSoundRange 12
EngineSoundRange 90
BackSoundRange 50
ShootSoundPrimary Shoot_Tnk_120mm
ShootSoundSecondary Shoot_Gun_M240
VehicleGunReloadTick 89
ShootReloadSound Reload_Tnk_Auto
//Recipe
//Each section of the plane may have many parts
//The sections are tailWheel, tail, bay, topWing, leftWingWheel, leftWing, rightWingWheel,
//rightWing, nose, turret, coreWheel, core
AddRecipeParts core 1 GFS_MBTChassis 1 GFS_ActiveProtection
AddRecipeParts turret 1 GFS_MBTTurret
AddRecipeParts rightTrack 1 GFS_TankTracks
AddRecipeParts leftTrack 1 GFS_TankTracks
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 6 yellow
//Health and collision
SetupPart core 1400 -82 -1 -34 153 26 68
SetupPart rightTrack 500 -81 -10 -34 154 20 13
SetupPart leftTrack 500 -81 -10 21 154 20 13
SetupPart turret 1600 -59 25 -29 98 15 58
SetupPart APS 4500 -85 0 -39 160 45 78
SetupPart frontalArmor 2000 56 -1 -19 7 24 38
SetupPart leftsideArmor 800 -77 -1 19 138 24 20
SetupPart rightsideArmor 800 -78 -1 -39 138 24 20
SetupPart additionalArmor 1400 -19 23 -31 60 12 62
BulletDetection 7
SquashMobs True
ShootParticlesPrimary largeexplode 0 0 0
ShootParticlesPrimary cloud 1 0 0
ShootParticlesPrimary cloud 1.75 0 0
ShootParticlesPrimary cloud 1.5 0 0
ShootParticlesPrimary cloud 1.25 0 0
ShootParticlesPrimary cloud 0.75 0 0
ShootParticlesPrimary cloud 0.5 0 0
ShootParticlesPrimary cloud 0.25 0 0
ShootParticlesPrimary explode 1.5 0 0
ShootParticlesPrimary largesmoke 0.5 0 0.1
ShootParticlesPrimary largesmoke 0.5 0 -0.1
ShootParticlesPrimary largesmoke 0.5 0.06 0.06
ShootParticlesPrimary largesmoke 0.5 0.06 -0.06
ShootParticlesPrimary largesmoke 0.5 -0.06 0.06
ShootParticlesPrimary largesmoke 0.5 -0.06 -0.06
ShootParticlesPrimary largesmoke 0.5 -0.1 0
ShootParticlesPrimary largesmoke 0.5 0.1 0
ShootParticlesPrimary cloud 0.05 0 0.2
ShootParticlesPrimary cloud 0.05 0 -0.2
ShootParticlesPrimary cloud 0.05 0.13 0.13
ShootParticlesPrimary cloud 0.05 0.13 -0.13
ShootParticlesPrimary cloud 0.05 -0.13 0.13
ShootParticlesPrimary cloud 0.05 -0.13 -0.13
ShootParticlesPrimary cloud 0.05 -0.2 0
ShootParticlesPrimary cloud 0.05 0.2 0
ShootParticlesPrimary explode 0.1 0 0.4
ShootParticlesPrimary explode 0.1 0 -0.4
ShootParticlesPrimary explode 0.1 0.26 0.26
ShootParticlesPrimary explode 0.1 0.26 -0.26
ShootParticlesPrimary explode 0.1 -0.26 0.26
ShootParticlesPrimary explode 0.1 -0.26 -0.26
ShootParticlesPrimary explode 0.1 -0.4 0
ShootParticlesPrimary explode 0.1 0.4 0
ShootParticlesSecondary flame 0.025 0 0
ShootParticlesSecondary flansmod.fmsmoke 0 0.01 0

RightLinkPoint [56,14,-26.5]
RightLinkPoint [60,10,-26.5]
RightLinkPoint [60,6,-26.5]
RightLinkPoint [56,1,-26.5]
RightLinkPoint [40,-9.5,-26.5]
RightLinkPoint [-55,-9.5,-26.5]
RightLinkPoint [-70.5,1,-26.5]
RightLinkPoint [-74.5,5,-26.5]
RightLinkPoint [-74.5,11,-26.5]
RightLinkPoint [-70.5,14,-26.5]
LeftLinkPoint [56,14,26.5]
LeftLinkPoint [60,10,26.5]
LeftLinkPoint [60,6,26.5]
LeftLinkPoint [56,1,26.5]
LeftLinkPoint [40,-9.5,26.5]
LeftLinkPoint [-55,-9.5,26.5]
LeftLinkPoint [-70.5,1,26.5]
LeftLinkPoint [-74.5,5,26.5]
LeftLinkPoint [-74.5,11,26.5]
LeftLinkPoint [-70.5,14,26.5]
TrackLinkLength 5
FlipLinkFix true
FixTrackLink 5


AddSmokePoint [0,32,-28] [1,0.75,-0.05] 20 turret
AddSmokePoint [0,28,-28] [0.7,0.75,-0.3] 20 turret
AddSmokePoint [0,24,-28] [0.5,0.75,-0.5] 20 turret
AddSmokePoint [0,32,28] [1,0.75,0.05] 20 turret
AddSmokePoint [0,28,28] [0.7,0.75,0.3] 20 turret
AddSmokePoint [0,24,28] [0.5,0.75,0.5] 20 turret

HasFlare True

HasSmoke True
FlareDelay 750
FlareSound SmokeDeploy

AddEmitter cloud 1 [-82,12,0] [1,1,1] [-1,-1.5,0] 0.4 1 0 1 core
AddEmitter cloud 1 [-82,12,-12] [1,1,1] [-1,-1.5,0] 0.4 1 0 1 core
AddEmitter cloud 1 [-82,12,12] [1,1,1] [-1,-1.5,0] 0.4 1 0 1 core
AddEmitter largesmoke 3 [-82,12,0] [1,1,1] [-1,-1.5,0] 0.4 1 0 1 core
AddEmitter largesmoke 3 [-82,12,-12] [1,1,1] [-1,-1.5,0] 0.4 1 0 1 core
AddEmitter largesmoke 3 [-82,12,12] [1,1,1] [-1,-1.5,0] 0.4 1 0 1 core
//Damage
AddEmitter flame 1 [-65,24,-9] [1,1,1] [0,0.5,0] -1 1 0 0.25 core
AddEmitter flame 1 [-65,24,9] [1,1,1] [0,0.5,0] -1 1 0 0.25 core
AddEmitter largesmoke 3 [-65,24,-9] [1,1,1] [0,1,0] -1 1 0 0.25 core
AddEmitter largesmoke 3 [-65,24,9] [1,1,1] [0,1,0] -1 1 0 0.25 core
AddEmitter largesmoke 1 [-65,24,-9] [1,1,1] [0,0.5,0] -1 1 0 0.25 core
AddEmitter largesmoke 1 [-65,24,9] [1,1,1] [0,0.5,0] -1 1 0 0.25 core

LockOnToPlanes False
LockOnToVehicles True
LockOnToPlayers False
LockOnToLivings False
CanLockOnAngle 5
MaxRangeLockOn 250
LockedOnSoundRange 1
LockOnSound Lockon_ATGM
LockOnSoundTime 14